import { createApp } from 'vue'
import App from './App'
import './registerServiceWorker'
import router from './router'
import store from './store'
import { request } from './network/request'
import '@/assets/scss/aui.scss'
import './icons'
import installElementPlus from './plugins/element.js'
import 'element-plus/lib/theme-chalk/base.css'
import 'element-plus/lib/theme-chalk/index.css';
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'

import * as utils from './utils/index'

const app = createApp(App)
app.config.globalProperties.$request = request
window.router = router
installElementPlus(app)
app.use(utils)
    .use(store).
use(router).
mount('#app')